<?php
/**
 * @author     Thibaut Cromphaut, Gaïtano Boeraeve, Matthias Mercy
 * @copyright  Copyright (c) 2011 memorygame
 */
class Application_Model_UserHasLevel extends Ahs_Model
{
    /**
     * @var integer
     */
    protected $_id;
    /**
     * @var integer
     */
    protected $_user_id;
    
    /**
     * @var integer
     */
    protected $_score;
    
    /**
     * @var integer
     */
    protected $_time;
    
    /**
     * @var integer
     */
    protected $_tries;
    
    /**
     * @var integer
     */
    protected $_unlocked;

    /**
     * @return integer
     */
    public function getId() {
        return $this->_id;
    }

    /**
     * @param integer $id
     */
    public function setId($id)
    {
        $this->_id = $id;
    }
    
    /**
     * @return integer
     */
    public function getUserId() {
        return $this->_user_id;
    }

    /**
     * @param integer $user_id
     */
    public function setUserId($user_id)
    {
        $this->_user_id = $user_id;
    }
    
    /**
     * @return integer
     */
    public function getScore() {
        return $this->_score;
    }

    /**
     * @param integer $score
     */
    public function setScore($score)
    {
        $this->_score = $score;
    }
    
    /**
     * @return integer
     */
    public function getTime() {
        return $this->_time;
    }

    /**
     * @param integer $time
     */
    public function setTime($time)
    {
        $this->_time = $time;
    }
    
    /**
     * @return integer
     */
    public function getTries() {
        return $this->_tries;
    }

    /**
     * @param integer $tries
     */
    public function setTries($tries)
    {
        $this->_tries = $tries;
    }
    
    /**
     * @return boolean
     */
    public function getUnlocked() {
        return $this->_unlocked;
    }

    /**
     * @param boolean $unlocked
     */
    public function setUnlocked($unlocked)
    {
        $this->_unlocked = $unlocked;
    }
}


